package com.text.day1_5.homework;

public class User {
    private boolean flag;      //当前是否登录
    private String userName;
    private String passWord;

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public User(String userName, String passWord){
        flag = false;
        this.userName = userName;
        this.passWord = passWord;
    }
}
